package com.yyplatform.admin.platform.role.model.dto;

import lombok.Data;

import java.util.List;

/**
 * Created on 2024-09-13
 */
@Data
public class SysUserFormDTO {

    private Long id;


    private String username;
    private String remark;
    private String realName;
    private String nickname;
    private String email;
    private String phone;
    private String gender;
    private String faceUrl;
    private Boolean enabled;
    private Boolean isAdmin;
    private String password;

    private List<Long> deptIdList;
    private List<Long> postIdList;


    // 这里只考虑单个部门和岗位的情况，特殊情况后面再说。
    private Long deptId;
    private Long postId;

    // 角色可以多个，多个 Long用逗号隔开
    private List<Long> roleIdList;


}
